@import "../../style/default";

.drawer-inquiry-content {
  //display: -webkit-box;
  .drawer-inquiry-collapse {
    width: 100%;
  }

  .drawer-inquiry-collapse-panel {
    width: 100%;

    .collapse-panel-table-th {
      font-weight: bold;
      text-align: center;
      padding: 8px;
    }

    .collapse-panel-table-td {
      text-align: center;
      padding: 8px;
      font-size: 8px;
    }

    .collapse-panel-tooltip {
      cursor: pointer;
      padding: 0 4px;
      color: #e6a23c;
      position: relative;
      top: 1px;
      font-size: 13px;
    }
  }

  .collapse-panel-title {
    font-size: 20px;
    font-weight: bold;
  }

  .inquiry-data {
    max-height: 40vh;
    overflow: auto;

    .inquiry-data-filter {
      .inquiry-data-filtration-box {
        display: flex;
      }

      .filtration-box-title {
        font-weight: bold;
        font-size: 12px;
        padding: 4px;
      }

      .filtration-box-type {
        padding: 4px;

        /deep/ .apes-checkbox {
          top: -1px;
        }

        /deep/ span {
          cursor: pointer;
          font-weight: bold;
          font-size: 12px;
          padding: 0;
        }
      }
    }

    .inquiry-data-header {
      display: flex;
      justify-content: space-between;

      .quotation-btn {
        margin-left: 8px;
      }

      .showHidden {
        margin-right: 8px;
        position: relative;
        height: 25px;

        .showHidden-icon {
          width: 20px;
          height: 25px;
          font-size: 20px;
          position: absolute;
          right: 5px;
          cursor: pointer;
        }
      }
    }

    .inquiry-data-main {
      overflow: hidden;

      &::after {
        clear: both
      }

      .main-col {
        padding: 2px;

        &.text-nowrap {
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        .tip {
          position: relative;
          top: 1px;
          margin-left: 4px;
          cursor: pointer;
          color: #aaaaaa;
        }
      }
    }

    .inquiry-data-title {
      background: #aaaaaa;
      font-size: 16px;
      padding: 8px;

      :first-child {
        display: inline-block;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        line-height: 15px;
        text-align: center;
        color: #fff;
        background-color: #F66C07;
        margin-right: 10px;
        font-size: 12px;
      }

      :last-child {
        margin-left: 10px;
      }
    }

    .inquiry-data-box {
      border: 1px solid #ddd;
      position: relative;

      .inquiry-data-box-main {
        padding: 4px 8px;

        &:nth-child(2n+1) {
          background: #f2f2f2;
        }

        &:nth-child(2n) {
          background: #ffffff;
        }
      }
    }

    .inquiry-data-btn {
      position: absolute;
      top: 3%;
      right: 3%;
      cursor: pointer;
    }
  }

  .inquiry-enquiryData {
    .inquiry-enquiryData-main {
      padding: 16px;
    }

    .timeline {
      padding: 16px 16px 0;
      border: 1px solid #bdbaba;
      border-radius: 10px;
      margin-bottom: 10px;
    }

  }

}

